package com.nianzhen.utils;

import android.content.Context;
import android.widget.Toast;

public class ToastBreak {
	private static Toast mToast;
    public static void showToast(String text) {  
        if (mToast == null) {  
            mToast = Toast.makeText(DateLib.getAppContext(), text, Toast.LENGTH_SHORT);  
        } else {  
            mToast.setText(text);  
            mToast.setDuration(Toast.LENGTH_SHORT);  
        }
        mToast.show();
    }
}
